#pragma once
#ifndef winPainter_h__
#define winPainter_h__

#include "../skyAdapter.h"
#ifdef _SKYWIN_

#include "../../../xfile/xfile.h"
#include "../skyPict.h"
#include "../skyFont.h"
#include "../skyCanvas.h"

namespace Sky
{
	class OSPainter : public Object
    {
		DECL_RTTI1(OSPainter,Object);
	public:
		TVoid setDevice(xDevice* p){m_Device = p;}
	protected:
		xSprite   m_Sprite;
		PictPtr	  m_Pict;
		FontPtr	  m_Font;
		CanvasPtr m_Canvas;
		xDevice*  m_Device;
		xLine	  m_Pen;
		xLine	  m_Brush;
    };
}

#endif
#endif